<section id="jwkAdd" class="ml-24 mr-24">
	<div class="updateImg"></div>
	<div class="clearfix ptb-10 border-b">
	  <h4 class="pull-left line-height-34">新建企业</h4>	  
	</div>
	
	<div class="dy-flex mt-10">
		<div class="dy-fx-1 line-height-34 color-666">公司名称:</div>
		<div class="dy-fx-9">
			<input type="text" class="form-control inline" style="width: 130px;" v-model="companyName">
			<span class="cursor" @click="addHome">
				<span class="hl-checkbox" :class="{active: isHomepage == 'Y'}"></span>
				<span class="color-666">添至首页</span>
			</span>
		</div>
	</div>
	
	<div class="dy-flex mt-15">
		<div class="dy-fx-1 line-height-34 color-666">所属行业:</div>
		<div class="dy-fx-9">
			 <div class="select-ul" style="width: 130px;">
				<span class="select-name br-4 box-i-shadow" ref="industrySel">请选择</span>
			  <ul>
			    <li v-for="(item, index) in industryArr" @click="industrySel(item)">{{ item.industryName }}</li>
			  </ul>
			</div>
		</div>
	</div>
	
	<div class="dy-flex mt-15">
		<div class="dy-fx-1 line-height-34"><span>公司LOGO:</span></div>
		<div class="dy-fx-9">
			<button type="button" class="btn s-btn-default" v-if="!imgURL" @click="updateImgEvent">上传LOGO</button> 
			<div class="picbox relative" style="width: 110px;height: 110px;" v-if="imgURL">
				<img :src="imgURL + '?w=110&h=110'" class="picture" width="110" height="110">
				<span class="resetup cursor absolute text-center" @click="updateImgEvent" style="left: 0;right: 0;bottom: 0;height: 28px;line-height: 28px;color: #fff;background: rgba(0,0,0,.5);">重新上传</span>
			</div>
		</div>
	</div>
	
	<div class="dy-flex mt-15">
		<div class="dy-fx-1 line-height-34"><span>公司服务:</span></div>
		<div class="dy-fx-9 clearfix">
			<div class="pull-left" style="width: 50%;" :class="{'mt-10': index == 2}" v-for="(item, index) in serverArr">
				<input type="text" class="form-control inline" placeholder="4~6个字标签" style="width: 130px;" v-model="item.name" @blur="blurSeverInputLen(index)">
				<span class="color-primary ml-10 cursor" @click="serverRemove(index)" v-if="serverArr.length > 1">
					<span class="icon-Gm-delete"></span>
					<span>删除服务</span>
				</span>
				<span class="color-primary ml-16 cursor" v-if="(index == serverArr.length-1) && index < 2" @click="serverAdd">
					<span class="icon-Org-account"></span>
					<span>添加服务</span>					
				</span>
				<span style="color: #ccc;" v-if="(index == serverArr.length-1) && index < 2">最多添加3个标签</span>
			</div>
		</div>
	</div>
	
	<div class="dy-flex mt-15">
		<div class="dy-fx-1 line-height-34"><span>公司需求:</span></div>
		<div class="dy-fx-9 clearfix">
			<div class="pull-left" style="width: 50%;" v-for="(item, index) in demandArr" :class="{'mt-10': index == 2}">
				<input type="text" class="form-control inline" placeholder="4~6个字标签" style="width: 130px;" v-model="item.name" @blur="blurDemandInputLen(index)">
				<span class="color-primary ml-10 cursor" v-if="demandArr.length > 1" @click="demandRemove(index)">
					<span class="icon-Gm-delete"></span>
					<span>删除需求</span>
				</span>
				<span class="color-primary ml-16 cursor" v-if="(index == demandArr.length-1) && index < 2" @click="demandAdd">
					<span class="icon-Org-account"></span>
					<span>添加需求</span>					
				</span>
				<span style="color: #ccc;" v-if="(index == demandArr.length-1) && index < 2">最多添加3个标签</span>
			</div>
		</div>
	</div>
	
	<div class="dy-flex mt-15">
		<div class="dy-fx-1 line-height-34"><span>公司简介:</span></div>
		<div class="dy-fx-9">
			<textarea class="form-control" rows="5" v-model="industryInfo"></textarea>
		</div>
	</div>
	
	<div class="border-t mt-15 pt-10 pb-20">
		<button class="n-btn-primary br-4" @click="isSubmit">发布</button>
	</div>
</section>

<script src="modules/workbench/scripts/jwkAddGc.js" charset="utf-8"></script>